<?php
namespace App\Exceptions;

use Symfony\Component\HttpKernel\Exception\HttpException;

class AssistWordUsedException extends HttpException
{
    protected $message = '辅助词已被使用，不能删除';
    protected $code = 'assist.word.used';

    public function __construct()
    {
        parent::__construct(400, $this->message);
    }
}
